package com.zxw.java基础.继承;

import lombok.Data;

/**
 * @projectName: util-cloud
 * @package: com.zxw.java基础.继承
 * @className: Son
 * @author: zhangxuewei
 * @description: TODO
 * @date: 2023/6/5 16:07
 * @version: 1.0
 */
@Data
public class Son extends P {
    public Son() {
        super();
    }

    public Integer getPnum() {
        return super.num;
    }

    public static void main(String[] args) {
        Son s = new Son();
        System.out.println(s.getPnum());
    }

    private String cname;

    private String sist;

}
